home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 652 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.6 KB

  1. Date: Sun, 14 Nov 93 20:09:13 MST
  2. From: shenson@nyx10.cs.du.edu (Stephen Henson)
  3. Message-Id: <9311150309.AA08019@nyx10.cs.du.edu>
  4. X-Disclaimer: Nyx is a public access Unix system run by the University
  5.     of Denver.  The University has neither control over nor
  6.     responsibility for the opinions or correct identity of users.
  7. To: mint@terminator.rs.itd.umich.edu
  8. Subject: mount() fun ...
  9.  
  10. As I mentioned a while back I intended to add a facility to allow one
  11. Minixfs filesystem to be mounted on another. I was somewhat sidetracked
  12. by the problems with disk access for pl7->pl8, so it's only now that I've
  13. embarked upon it.
  14.           The code for mounting seems OK, but there is a problem with
  15. umounting. One of the problems with mounting is that say drive D: is mounted
  16. on E: . If the current dir is in D: and I do a 'cd \' then I want to end up
  17. in the root dir of E:, this necessitates setting the root cookie of D: to
  18. the root dir of E:. This is no problem, just force a disk change of D: and
  19. then the new fs->root calls pull the right dir and alls well.
  20.           The problem is how to change the root cookie back to D: when I'm
  21. umounting. A quick look at changedrv in filesys.c should highlight the
  22. problem. If I change drive D: then the root cookies of D: wont get set back
  23. because their dev field is now E:. If I change E: I'll get the ability to
  24. change the cookies of D: back but I'll also get the E: ones as well, which
  25. I want to stay the same!
  26.           Any ideas anyone, or is some kernel modding required (which is no
  27. problem apart from inability to umount with previous MiNT versions).
  28. Steve.
  29.  
  30.